package com.haobangs.imms.controller;


import com.haobangs.imms.service.IVideoService;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;


/**
 * 视频Controller
 *
 * @author haobangs
 * @date 2024-03-23
 */
@RestController
@RequestMapping("/imms/video")
public class VideoContoller extends BaseController
{
    @Autowired
    private IVideoService VideoService;
    /**
     * 查询video的url
     */
    @GetMapping("/get")
    public AjaxResult getList()
    {
        return AjaxResult.success(VideoService.getvideo());
    }

}
